const operation = [
  {
    path: 'operation',
    component: () => import(/* webpackChunkName: "platform" */ '@/layout/platform'),
    name: 'Operation',
    redirect: '/operation',
    meta: { title: 'operation', code: 'Operation', icon: 'el-icon-message' },
    children: [
      {
        path: 'recruit',
        name: 'Recruit',
        redirect: '/service/stuImport',
        component: () => import(/* webpackChunkName: "platform" */ '@/views/operation/recruit/index'),
        meta: { title: 'recruit', code: 'Recruit', icon: 'el-icon-message' },
        children: [
          // {
          //   path: 'enrolled',
          //   name: 'Enrolled',
          //   component: () => import(/* webpackChunkName: "platform" */ '@/views/operation/recruit/enrolled'),
          //   meta: { title: 'enrolled', code: 'Enrolled', icon: 'el-icon-message' }
          // },
          {
            path: 'stuImport',
            name: 'StuImport',
            component: () => import(/* webpackChunkName: "platform" */ '@/views/operation/recruit/stuImport'),
            meta: { title: 'stuImport', code: 'StuImport', icon: 'el-icon-message' }
          },
          {
            path: 'stuRefund',
            name: 'StuRefund',
            component: () => import(/* webpackChunkName: "platform" */ '@/views/operation/recruit/stuRefund'),
            meta: { title: 'stuRefund', code: 'StuRefund', icon: 'el-icon-message' }
          }
        ]
      },
      {
        path: 'materialManagement',
        name: 'MaterialManagement',
        // redirect: 'noRedirect',
        component: () => import(/* webpackChunkName: "platform" */ '@/views/operation/materialManagement/index'),
        meta: { title: 'materialManagement', code: 'MaterialManagement', icon: 'el-icon-notebook-2' }
      },
      // 考核管理
      {
        path: 'assessmentManagement',
        name: 'AssessmentManagement',
        component: () => import(/* webpackChunkName: "platform" */ '@/views/operation/assessmentManagement/index'),
        meta: { title: 'assessmentManagement', icon: 'el-icon-tickets', code: 'AssessmentManagement' }
      },
      // 级/段位管理
      {
        path: 'gradeManagement',
        name: 'GradeManagement',
        redirect: '/service/gradeInformation',
        component: () => import(/* webpackChunkName: "platform" */ '@/views/operation/gradeManagement/index'),
        meta: { title: 'gradeManagement', icon: 'el-icon-tickets', code: 'GradeManagement' },
        children: [
          // 学员段位信息
          {
            path: 'gradeInformation',
            name: 'GradeInformation',
            component: () => import(/* webpackChunkName: "platform" */ '@/views/operation/gradeManagement/gradeInformation'),
            meta: { title: 'gradeInformation', icon: 'el-icon-message', code: 'GradeInformation' }
          },
          // 学时管理
          {
            path: 'timeManagement',
            name: 'TimeManagement',
            component: () => import(/* webpackChunkName: "platform" */ '@/views/operation/gradeManagement/timeManagement'),
            meta: { title: 'timeManagement', icon: 'el-icon-message', code: 'TimeManagement' }
          },
          // 证书管理
          {
            path: 'certificateManagement',
            name: 'CertificateManagement',
            component: () => import(/* webpackChunkName: "platform" */ '@/views/operation/gradeManagement/certificateManagement'),
            meta: { title: 'certificateManagement', icon: 'el-icon-message', code: 'CertificateManagement' }
          }
        ]
      }
    ]
  }
];

export default [
  ...operation
];
